package cn.iocoder.yudao.module.resource.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * 错误码定义
 *
 * @author: wds_prc
 * @since: 2024/7/26 21:18
 */
public interface ErrorCodeConstants {

    ErrorCode TAG_NOT_EXISTS = new ErrorCode(2_001_000_001, "标签不存在");
    ErrorCode AUDIO_NOT_EXISTS = new ErrorCode(2_001_000_002, "音频不存在");
    ErrorCode KEY_WORD_NOT_EXISTS = new ErrorCode(2_001_000_003, "关键字不存在");
    ErrorCode TAG_CLASSIFY_NOT_EXISTS = new ErrorCode(2_001_000_004, "标签分类不存在");
    ErrorCode TAG_HAD_EXISTS = new ErrorCode(2_001_000_005, "此标签已存在，不可重复添加");
    ErrorCode TAG_CLASSIFY_HAD_EXISTS = new ErrorCode(2_001_000_006, "标签分类已存在，不可重复添加");

    ErrorCode KEY_WORD_HAD_EXISTS = new ErrorCode(2_001_000_007, "关键字已存在，不可重复添加");
    ErrorCode KEY_WORD_HAD_MARK_AUDIO = new ErrorCode(2_001_000_008, "关键字有标记的音频，不能删除");
    ErrorCode TAG_HAD_MARK_AUDIO = new ErrorCode(2_001_000_009, "此标签有标记的音频，不能删除");
    ErrorCode COSPLAY_NOT_EXISTS = new ErrorCode(2_001_000_010, "此标签有标记的音频，不能删除");

    ErrorCode AUDIO_COMMAND_NOT_EXISTS = new ErrorCode(2_001_000_011, "音频指令不存在");
    ErrorCode AUDIO_RELATION_EMPTY = new ErrorCode(2_001_000_012, "问答式关联不能为空");
    ErrorCode AUDIO_RELATION_KEY_WORD_EMPTY = new ErrorCode(2_001_000_012, "问答式关联非默认回复时，关键字不能为空");
    ErrorCode AUDIO_RELATION_KEY_AUDIO_EMPTY = new ErrorCode(2_001_000_013, "问答式关联音频不能为空");
    ErrorCode AUDIO_RELATION_DEFAULT_EMPTY = new ErrorCode(2_001_000_014, "问答式关联默认音频不能为空");
    ErrorCode AUDIO_RELATION_DEFAULT_TOO_MANY = new ErrorCode(2_001_000_015, "问答式关联默认音频有且只能有一个");

    ErrorCode STORY_NOT_EXISTS = new ErrorCode(2_001_000_016, "场景不存在");


    ErrorCode AUDIO_TEXT_NOT_EXISTS = new ErrorCode(2_001_000_017, "音频文本不存在");
    ErrorCode ROLE_TEXT_AUDIO_NOT_EXISTS = new ErrorCode(2_001_000_018, "角色转换音频不存在");
    ErrorCode AUDIO_TONE_NOT_EXISTS = new ErrorCode(2_001_000_030, "声纹不存在");


}
